/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mygame.conf;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import java.util.List;
import mygame.model.GameLevel;

/**
 * This class has all related information to load the game.
 * It also provide you to save it into a xml or jason file.
 * @author xwgou
 */
@XStreamAlias("gameConfiguration")
public class GameConfiguration {

    public GameConfiguration() {
    }
    
//    @XStreamImplicit(itemFieldName = "level")
    private List<GameLevel> levels;

    public List<GameLevel> getLevels() {
        return levels;
    }

    public void setLevels(List<GameLevel> levels) {
        this.levels = levels;
    }

    /**
     * Save a GameConfigurationObject to xml
     * @param fileName 
     */
    public void saveToXml(String fileName) {
    }
}
